package com.hh.flow.domain.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
* 实例历史记录表tableDef
* default_columns中不能放ignore、isLarge、isLogicDelete
* @author hh
* @date 2023-05-02
*/
public class FlowInsHisTableDef extends TableDef {

    public static final FlowInsHisTableDef flow_ins_his = new FlowInsHisTableDef("flow_ins_his");

    public QueryColumn id = new QueryColumn(this, "id");
    public QueryColumn node_from = new QueryColumn(this, "node_from");
    public QueryColumn node_from_name = new QueryColumn(this, "node_from_name");
    public QueryColumn node_to = new QueryColumn(this, "node_to");
    public QueryColumn node_to_name = new QueryColumn(this, "node_to_name");
    public QueryColumn user_code = new QueryColumn(this, "user_code");
    public QueryColumn user_name = new QueryColumn(this, "user_name");
    public QueryColumn instance_id = new QueryColumn(this, "instance_id");
    public QueryColumn message = new QueryColumn(this, "message");
    public QueryColumn condition_value = new QueryColumn(this, "condition_value");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn del_flag = new QueryColumn(this, "del_flag");

    public QueryColumn[] default_columns = new QueryColumn[]{ id, node_from, node_from_name, node_to, node_to_name, user_code, user_name, instance_id, message, condition_value, create_by, create_time, update_by, update_time, };
    public QueryColumn[] all_columns = new QueryColumn[]{ id, node_from, node_from_name, node_to, node_to_name, user_code, user_name, instance_id, message, condition_value, create_by, create_time, update_by, update_time, del_flag};

    public FlowInsHisTableDef(String tableName) {
        super(tableName);
    }
}
